body {
    font-family: 'Open Sans', sans-serif;
    margin: 0;
    padding: 0;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.container1 img {
    height: 50px;
    max-width: 1200px;
    position: relative;
    left: 331px;
}

/* Header styles */
header {
    background-color: rgb(231, 140, 4);
    color: #fff;
    padding: 20px;
}

.logo {
    font-size: 2rem;
    font-weight: bold;
    text-transform: uppercase;
}

nav ul {
    list-style: none;
    margin: 0;
    padding: 0;
    font-size: 1.5em;
    max-width: 1200px;
    position: relative;
    left: 331px;
}

nav li {
    display: inline-block;
    margin-right: 20px;
}

nav a {
    color: #000000;
    text-decoration: none;
    transition: all 0.3s ease;
}

nav a:hover {
    color: #f7f7f7;
}

.image-viewer {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 500px;
    padding: 40px;
    background-color: #333;
}

.image-viewer img {
    max-height: 100%;
    max-width: 100%;
    object-fit: contain;
}

.thumbnails {
    display: flex;
    justify-content: center;
    padding: 20px;
    background-color: #333;
}

.thumbnail {
    padding: 10px;
    cursor: pointer;
}

.thumbnail img {
    max-height: 100px;
    object-fit: cover;
}

.paragraphs {
    display: flex;
    justify-content: center;
    font-weight: bold;
    color: #f7f7f7;
    background-color: #333;
    font-size: 1.5em;
}

.h1 {
    display: flex;
    justify-content: center;
    font-weight: bold;
    background-color: #333;
    color: #f7f7f7;
    text-decoration: underline;
}

/* Footer styles */
footer {
    background-color: rgb(231, 140, 4);
    color: #000000;
    padding-top: 50px;
    padding-bottom: 50px;
}

.footer-text {
    font-weight: bold;
    position: relative;
}

.footer-logo {
    font-size: 2rem;
    font-weight: bold;
    text-transform: uppercase;
    margin-bottom: 30px;
}

.footer-links {
    display: flex;
    justify-content: space-between;
}

.footer-links ul {
    list-style: none;
    margin: 0;
    padding: 0;
    position: relative;
}

.footer-links li {
    margin-bottom: 10px;
}

.footer-links a {
    color: #000000;
    text-decoration: none;
    transition: all 0.3s ease;
    font-weight: bold;
}

.footer-links a:hover {
    color: #000000;
}

.footer-social {
    margin-top: 20px;
}

.footer-social ul {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    justify-content: center;
}

.footer-social li {
    margin-right: 10px;
}

.footer-social a {
    color: #000000;
    text-decoration: none;
    font-size: 1.5rem;
    transition: all 0.3s ease;
}

.footer-social a:hover {
    color: #000000;
}

.footer-text h3 {
    color: #000000;
    font-size: 2em;
}

/* Media Queries */
@media (max-width: 768px) {
    .container1 img,
    nav ul,
    .footer-links ul {
        left: 0;
    }

    .image-viewer,
    .paragraphs,
    .h1 {
        padding: 20px; /* Adjust the padding to fit smaller screens */
    }

    .footer-text {
        text-align: left; /* Align footer text to the left */
        margin-top: 20px; /* Add margin to separate it from the footer links */
        left: 0;
    }

    /* Adjust the positioning of thumbnails for smaller screens */
    .thumbnails {
        flex-wrap: wrap;
        justify-content: flex-start;
    }

    .thumbnail {
        width: 40%;
        box-sizing: border-box;
    }
}